package com.taobao.freetest.util;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class FreeBugUtils {
	public static String getLocalHostIP() {
		try {
			InetAddress addr = InetAddress.getLocalHost();
			return addr.getHostAddress();
		} catch (UnknownHostException e) {
			e.printStackTrace();
		}
		return "";
	}
}
